﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace FinanceAPI.Model
{
    /// <summary>
    /// 科目代码设置表
    /// </summary>
    [Serializable]
    [Description("科目代码设置表")]
    [Table("Pd_SubjectCodeSetting")]
    public class PdEntitySubjectCodeSetting : AggregateRoot
    {
        /// <summary>
        /// 类别说明
        /// </summary>
        [MaxLength(100)]
        public string ClassDescription { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        [MaxLength(50)]
        public string KeyWord { get; set; }
        /// <summary>
        /// 科目标记
        /// </summary>
        [MaxLength(5)]
        public string SubjectSign { get; set; }
        /// <summary>
        /// 是否预警
        /// </summary>
        public bool IsWarning { get; set; }
    }

}
